//package com.nt.train.config.properties;
//
//import lombok.Data;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.context.annotation.PropertySource;
//import org.springframework.stereotype.Component;
//
///**
// * @author hlf
// * @version 1.0
// * @date 2022/8/12 14:54
// */
//@Component
////属性值前缀  和application.properties文件中自定义的前缀相同
//@ConfigurationProperties(prefix = "wh")
////指明属性定义所在的配置文件
//@PropertySource(value = "classpath:application.properties")
//@Data
//public class CustomSimpleBean{
//
//    //属性值的name一定要和application.properties中的相同
//    private String property1;
//
//}
